package com.ruoyi.pms.mapper;

import java.util.List;
import com.ruoyi.pms.domain.PmsRequestDetails;

/**
 * 采购申请Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-04
 */
public interface PmsRequestDetailsMapper 
{
    /**
     * 查询采购申请
     * 
     * @param requestDetailUuid 采购申请主键
     * @return 采购申请
     */
    public PmsRequestDetails selectPmsRequestDetailsByRequestDetailUuid(String requestDetailUuid);

    /**
     * 查询采购申请列表
     * 
     * @param pmsRequestDetails 采购申请
     * @return 采购申请集合
     */
    public List<PmsRequestDetails> selectPmsRequestDetailsList(PmsRequestDetails pmsRequestDetails);

    /**
     * 查询采购申请列表
     *
     * @param pmsRequestDetails 采购申请
     * @return 采购申请集合
     */
    public List<PmsRequestDetails> listRequestDetail(PmsRequestDetails pmsRequestDetails);

    /**
     * 新增采购申请
     * 
     * @param pmsRequestDetails 采购申请
     * @return 结果
     */
    public int insertPmsRequestDetails(PmsRequestDetails pmsRequestDetails);

    /**
     * 修改采购申请
     * 
     * @param pmsRequestDetails 采购申请
     * @return 结果
     */
    public int updatePmsRequestDetails(PmsRequestDetails pmsRequestDetails);

    /**
     * 删除采购申请
     * 
     * @param requestDetailUuid 采购申请主键
     * @return 结果
     */
    public int deletePmsRequestDetailsByRequestDetailUuid(String requestDetailUuid);

    /**
     * 批量删除采购申请
     * 
     * @param requestDetailUuids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePmsRequestDetailsByRequestDetailUuids(String[] requestDetailUuids);
}
